package com.design.create.adapter.object_adapter;

public class ObjectAdapterTest {

    public static void main(String[] args) {
        //普通类
        ObjectTarget target = new ObjectTargetImpl();
        target.request();

        //特殊类
        ObjectAdapter objectAdapter = new ObjectAdapter(new ObjectAdaptee());
        objectAdapter.request();
    }
}
